x86: unmask CPUID levels on Intel CPUs
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 30 Jul 2010 10:36:34 +0000 (11:36 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 30 Jul 2010 10:36:34 +0000 (11:36 +0100)
commitd4a2c8df0ac4cc35e86971ff80d4c4e01d2fd15a
tree5f8a889944aa31f1b7028a739266d51497f751ce
parent116fe7eac5cda05e693e167700b0a8156bb3f57a
x86: unmask CPUID levels on Intel CPUs

If the CPUID limit bit in MSR_IA32_MISC_ENABLE is set, clear it to
make all CPUID information available. This is required for some
features to work, such as MWAIT in cpuidle, get cpu topology, XSAVE,
etc.

Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/cpu/intel.c
xen/include/asm-x86/msr-index.h